package com.chenjunlin.shortlink.admin.common.enums;

import com.chenjunlin.shortlink.admin.common.convention.errorcode.IErrorCode;

public enum GroupErrorCode implements IErrorCode {
        GROUP_ALREADY_EXISTS("C000200","分组已存在，请尝试其他分组名称"),
        ;
        private final String code;

        private final String message;

        GroupErrorCode(String code, String message) {
            this.code = code;
            this.message = message;
        }

        @Override
        public String code() {
            return code;
        }

        @Override
        public String message() {
            return message;
        }
    }


